package ch.sv7.tool.dbmanager.db.dialect.sybase;

import ch.sv7.tool.dbmanager.types.TypesInfo;


/**
 * TODO: Document me!
 * 
 * @author svt
 * 
 */
public class SybaseUnicodeDialect extends SybaseDialect {

	private static final String[][] types = new String[][] 
    	      { { "BIGINT", "bigint" }, 
    			{ "BINARY", "binary" }, 
    			{ "BIT", "bit" },
    			{ "BLOB", "image" }, 
    			{ "BOOLEAN", "bit" }, 
    			{ "CHAR", "unichar" }, 
    			{ "CLOB", "unitext" }, 
    			{ "DATE", "date" },
    			{ "DECIMAL", "decimal" }, 
    			{ "DOUBLE", "float" }, 
    			{ "FLOAT", "float" }, 
    			{ "INTEGER", "int" }, 
    			{ "LONGNVARCHAR", "unitext" },
    			{ "LONGVARBINARY", "image" }, 
    			{ "LONGVARCHAR", "unitext" }, 
    			{ "NCHAR", "char" }, 
    			{ "NCLOB", "unitext" },
    			{ "NUMERIC", "numeric" }, 
    			{ "NVARCHAR", "univarchar" }, 
    			{ "REAL", "real" }, 
    			{ "SMALLINT", "smallint" },
    			{ "TIME", "time" },
    			{ "TIMESTAMP", "datetime" },
    			{ "TINYINT", "tinyint" },
    			{ "TIMESTAMP", "datetime" },
    			{ "VARBINARY", "varbinary" },
    			{ "VARCHAR", "univarchar" }
    			};
    	/*
    	 * Unmapped:
    	 * ARRAY
    	 * DATALINK
    	 * DISTINCT
    	 * JAVA_OBJECT
    	 * NULL
    	 * OTHER
    	 * REF
    	 * ROWID
    	 * SQLXML
    	 * STRUCT
    	 */

	/**
	 * @param typesInfo
	 */
	public SybaseUnicodeDialect(TypesInfo typesInfo) {
		super(typesInfo);
	}

	public String[][] getTypes() {
		return types;
	}

	public String getName(){
		return "sybase-unicode";
	}
	
}
